﻿using BW.IBLL;
using BW.IDAL;
using BW.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.BLL
{
    public class MemberLevelBLL : IMemberLevelBLL
    {
        public MemberLevelBLL(IBaseDAL<MemberLevel> memberLevelDAL)
        {
            MemberLevelDAL = memberLevelDAL;
        }

        public IBaseDAL<MemberLevel> MemberLevelDAL { get; }

        public List<MemberLevel> GetMemberLevels()
        {
            return MemberLevelDAL.GetAllAsync().ToList();
        }
    }
}
